package org.example.spring_frist;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.ConfigurableBootstrapContext;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

import java.util.Collections;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class SpringFristApplication {

    public static void main(String[] args) {
//        SpringApplication.run(SpringFristApplication.class, args);

        SpringApplication s = new SpringApplication(SpringFristApplication.class);
        s.setDefaultProperties(Collections.singletonMap("server.port", "8081"));
        s.run(args);
    }

}
